package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.masa.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_SECURITY_LOG")
@ApiModel(value = "系统操作日志表")
public class SecurityLog extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "SOURCE_ID")
    @JsonProperty(value = "sSourceId")
    private String sSourceId;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "TITLE")
    @JsonProperty(value = "sTitle")
    private String sTitle;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "MODULE")
    @JsonProperty(value = "sModule")
    private String sModule;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "DESCRIPTION")
    @JsonProperty(value = "sDescription")
    private String sDescription;

    @ApiModelProperty(value = "$column.comments")
    @TableField(value = "IP_ADDRESS")
    @JsonProperty(value = "ipAddress")
    private String ipAddress;

}
